package scorer;

import java.util.ArrayList;

public class Wind extends Tile {

	public enum WIND{
		NORTH,
		SOUTH,
		EAST,
		WEST;
	}
	
	public Wind(Object o) throws Exception {
		super(o);
	}
	
	public Wind(Object o, SUIT s) {
		super(o,s);
	}

	public Object getValue() {
		return value;
	}

	public static boolean isValid(Object o) {
		return o instanceof WIND;
	}

	public static ArrayList<Object> getValidValues() {
		ArrayList<Object> arr = new ArrayList<Object>(4);
		for(WIND w: WIND.values()) {
			arr.add(w);
		}
		
		return arr;
	}

	@Override
	public String print() {
		return value.toString()+" Wind";
	}

	public Tile clone() {
		Tile t = new Wind(value,suit);
		t.status = status;
		return t;
	}
	
}
